OPC Studio User's Guide and Reference
StructuredDataType Constructor(IEnumerable<DataField>)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > StructuredDataType Class > StructuredDataType Constructor : StructuredDataType Constructor(IEnumerable<DataField>)
A collection of data fields of the structured data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, with given data fields.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataFields As IEnumerable(Of DataField) _
)
'Usage
 
Dim dataFields As IEnumerable(Of DataField)
 
Dim instance As New StructuredDataType(dataFields)
public StructuredDataType( 
   IEnumerable<DataField> dataFields
)
public:
StructuredDataType( 
   IEnumerable<DataField^>^ dataFields
)

Parameters

dataFields
A collection of data fields of the structured data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also